package sample.testFreedomListView
{

	import org.abc.uiCore.AbcBindView;
	import org.abc.uiCore.vo.CpVo;
	import org.abc.uiCore.list.FreedomListView;
	import org.abc.uiCore.list.ListModel;
	import org.abc.uiCore.vo.ListVo;
	import org.abc.uiCore.TimeLineView;
	import sample.ItemCP_CPS;

	/**
	 * @describe  	...
	 * @author  	Mr.zheng
	 * @website 	http://blog.sina.com.cn/zihua2007
	 * @time		2011-9-3 15:46
	 */
	public class Freedom_CPS extends AbcBindView
	{
		public var anm_source_LEA:TimeLineView;

		private var freedomList:FreedomListView;

		public function Freedom_CPS()
		{
			this.bindView(new freedom_CPS);

			var listVo:ListVo=new ListVo();
			var model:ListModel=new ListModel();
			var vo:CpVo;
			for (var i:int=0; i < 3; i++)
			{
				vo=new CpVo();
				vo.data["id"]=100 + i;
				model.append(vo);
			}
			listVo.pageNum=3;
			listVo.CP=ItemCP_CPS;
			listVo.model=model;
			listVo.layoutSource=anm_source_LEA;
			freedomList=new FreedomListView();
			freedomList.setParams(listVo);

		}
	/* public function */

	/* override function */

	/* private function */
	}

}
